package oa.dao;

import java.util.List;

import oa.entity.Attendance;
import oa.exception.DaoException;

public interface AttendanceDao {
	List<Attendance> selectAllAttendance() throws DaoException;
	List<Attendance> selectAttendance(int deptId,int userId,int attendanceuserid) throws DaoException;
	List<Attendance> selectTimeUserid(Attendance attendance)throws DaoException;
	int selectCountList(String date,Attendance attendance)throws DaoException;
	List<Attendance> selectStartTime(int userId,String startTime,String endTime)throws DaoException;
	List<Attendance> selectFenYe(int attendanceuserid,Integer pageNo, Integer row);
	boolean addAttendance(Attendance attendance) throws DaoException;
	boolean updateAttendance(Attendance attendance) throws DaoException;
	boolean delAttendance(int id) throws DaoException;
	int SecletCountSum (int attendanceuserid);
	int selectCountLists(String date,int ccompanyid)throws DaoException;
}
